package com.aco.party.dao.custom;

import com.aco.party.dao.mbg.MBGPostsDao;
import com.aco.party.model.po.OldPosts;
import com.aco.party.model.po.OldPostsImg;
import com.aco.party.model.po.OldTerms;
import com.aco.party.model.po.Posts;
import com.aco.party.model.vo.PostsParam;
import com.aco.party.model.vo.common.PageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PostsDao extends MBGPostsDao {

    List<Posts> getList(@Param("page")PageParam pageParam,@Param("param")PostsParam param);

    Integer getTotal(@Param("param")PostsParam param);

    List<OldPosts> getOldPosts();

    List<OldTerms> getOldTerms(Long objectId);

    OldPostsImg getOldPostsImg(Long parentId);

    List<Long> getIdsByParam(@Param("param")PostsParam param);
}